
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<div class="control-group">
    <label class="control-label">海报标题 :</label>
    <div class="controls">
        <input type="text" class="span8" value="${shopbanner.title}"  name="title" placeholder="海报标题"  id="title">
    </div>
</div>

<div class="control-group">
    <label class="control-label">链接地址 :</label>
    <div class="controls">
        <input type="text" class="span8" value="${shopbanner.link}"  name="link" placeholder="链接地址"  id="link">
    </div>
</div>


<div class="control-group">
    <label class="control-label">顺序号 :</label>
    <div class="controls">
        <input type="number" class="span8" value="${shopbanner.positon}"  name="positon" placeholder="请输入阿拉伯数字，数字越小，位置越靠前"  id="positon">
    </div>
</div>



<div id="p_colorCode">
    <div class="control-group">
        <label class="control-label">
            上传海报(720*376) :</label>
        <input type="hidden" name="imgurl" value="${shopbanner.imgurl}">
        <div class="controls">
            <c:if test="${shopbanner==null || shopbanner.imgurl==null || ''.equals(shopbanner.imgurl)}">
                <img  data-img="${shopbanner.bannerurl}" onclick="openBrowse(this,0)" data-dir="good/images" src="${basePath}/resources/images/noimage.gif" alt="" width="720" height="376">
            </c:if>
            <c:if test="${shopbanner!=null && shopbanner.imgurl!=null}">
                <img  data-img="${shopbanner.bannerurl}" onclick="openBrowse(this,0)" data-dir="good/images" src="${shopbanner.imgurl}" alt="" width="720" height="376">
            </c:if>
        </div>
    </div>
</div>
